package GameEvent
{
	public class CGameEvent_SnakeEatSomthing extends CGameEvent
	{
		public static const TYPE_BLOCK			:uint = 0;
		public static const TYPE_ITEM_FOOD		:uint = 1;
		public static const TYPE_ITEM_VIRUS		:uint = 2;
		public static const TYPE_ITEM_COIN		:uint = 3;
		public static const TYPE_ITEM_GOLD		:uint = 4;
		public static const TYPE_ITEM_SHOWTIME	:uint = 5;
		public static const TYPE_DOOR			:uint = 6;
		public static const TYPE_GOAL			:uint = 7;
		public static const TYPE_BODY			:uint = 8;
		
		private var m_nType :uint;
		
		public function get nType() :uint { return m_nType; }
		
		public function CGameEvent_SnakeEatSomthing(nType :uint)
		{
			super(EVENT_SNAKE_EAT_SOMETHING, true, false);
			
			m_nType = nType;
		}
		
	}
}